package com.voltmao.persistent.mapper;

import org.apache.ibatis.annotations.Param;
import com.voltmao.persistent.model.AdminUserRoleMaps;
import com.voltmao.persistent.model.AdminUserRoleMapsCriteria;

import java.util.List;
import java.util.Map;

public interface AdminUserRoleMapsMapper {
    int countByExample(AdminUserRoleMapsCriteria example);

    int deleteByExample(AdminUserRoleMapsCriteria example);

    int deleteByPrimaryKey(String dataId);

    int insert(AdminUserRoleMaps record);

    int insertSelective(AdminUserRoleMaps record);

    List<AdminUserRoleMaps> selectByExample(AdminUserRoleMapsCriteria example);

    AdminUserRoleMaps selectByPrimaryKey(String dataId);

    int updateByExampleSelective(@Param("record") AdminUserRoleMaps record, @Param("example") AdminUserRoleMapsCriteria example);

    int updateByExample(@Param("record") AdminUserRoleMaps record, @Param("example") AdminUserRoleMapsCriteria example);

    int updateByPrimaryKeySelective(AdminUserRoleMaps record);

    int updateByPrimaryKey(AdminUserRoleMaps record);

    AdminUserRoleMaps selectByExampleForOne(AdminUserRoleMapsCriteria example);

    Map<String, Object> selectMapByPrimaryKey(String dataId);

    Map<String, Object> selectMapByExampleForOne(AdminUserRoleMapsCriteria example);

    List<Map<String, Object>> selectMapByExample(AdminUserRoleMapsCriteria example);
}